var status = -1;
var selectionLog = [];

function start() {
    action(1, 0, 0)
}

function action(d, c, b) {
    if (status == 0 && d == 0) {
        cm.dispose();
        return
    }(d == 1) ? status++ : status--;
    selectionLog[status] = b;
    var a = -1;
    if (status <= a++) {
        cm.dispose()
    } else {
        if (status === a++) {
            if (cm.isQuestActive(41063)) {
                cm.sendNormalTalk("既然会向我借钱，我会让你还够利息的。", 16, 0, false, true)
            } else {
                cm.sendOk("（空空荡荡的坛子。）");
                cm.dispose()
            }
        } else {
            if (status === a++) {
                cm.updateInfoQuest(41063, "clear=clear");
                cm.sendNormalTalk("虽然拿到钱了，但总觉得有点不安。还是先去#b沙子图团据点#k查看一下情况吧。", 16, 0, true, true)
            } else {
                cm.dispose()
            }
        }
    }
};